﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ArduinoAnalyzer
{
    public class LexicalErrorException : Exception
    {
        #region Constructors

        public LexicalErrorException(string message, int position)
            : base(message)
        {
            _position = position;
        }

        #endregion

        #region Attributes and Properties

        private int _position;
        public int Position
        {
            get { return _position; }
        }

        #endregion
    }
}
